<%@ include file="common/taglibs.jspf"%>

<jsp:include page="common/headerConParam.jsp">
	<jsp:param name="title" value="ABM Vehiculos" />
</jsp:include>

<c:url value="/eliminarVehiculo" var="urlSubmit"></c:url>

<form method="POST" action="${urlSubmit}">

	<p>
		<label>Vehiculos Habilitados:</label><br /> <select name="vehiculo">
			<c:forEach var="vehiculo" items="${empresa.vehiculos}">
				<option>${vehiculo.patente} &nbsp; ${vehiculo.tipoVehiculo}</option>
			</c:forEach>
		</select>
	</p>


	<input type=submit value="Eliminar">
</form>

<br>
<c:url value="/agregarVehiculo" var="agregarVehiculo" />
<br>
<a href="${agregarVehiculo}">Agregar un Vehiculo</a>
<br />

<jsp:include page="common/footer.jsp" />
